package com.example.homeworkmanagement.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "班级_学生_作业提交_作业发布DTO", description = "用于查询学生提交作业显示")
public class ClassesAndStudentsAndSubmissionsAndAssignmentsDTO {

    //submissions表
    @ApiModelProperty(value = "作业提交id")
    private Integer submissionId;

    //关联id
    @ApiModelProperty(value = "作业的id")
    private Integer assignmentId;

    //关联id
    @ApiModelProperty(value = "提交作业的学生id")
    private String studentId;

    @ApiModelProperty(value = "提交的附件")
    private Integer attachment;

    private Date subDate;

    @ApiModelProperty(value = "成绩")
    private String grade;

    @ApiModelProperty(value = "教师反馈")
    private String feedback;

    @ApiModelProperty(value = "提交作业状态（1-未批改，2-已批改）")
    private String state;

    //studdents表
    @ApiModelProperty(value = "姓名")
    private String studentName;

    //关联id
    @ApiModelProperty(value = "班级")
    private String classId;

    //classes表
    @ApiModelProperty(value = "班级名字	")
    private String className;

    //assignments表
    @ApiModelProperty(value = "作业标题	")
    private String title;

    @ApiModelProperty(value = "作业内容	")
    private String content;

}
